home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 3.iso / dist / fw_procmail.idb / usr / freeware / src / procmail / patches.z / patches
Text File  |  1998-10-27  |  25KB  |  727 lines

  1. *** ./man/Makefile    Wed Aug 24 11:52:00 1994
  2. --- ../procmail-3.11pre7/./man/Makefile    Fri Aug 21 03:14:10 1998
  3. ***************
  4. *** 1,16 ****
  5. - #$Id: Makefile,v 1.7 1994/08/24 18:52:00 berg Exp $
  6.   
  7. ! all: init
  8. !     $(MAKE) make $@
  9.   
  10. ! # The only real thing that can be made right now is:
  11.   
  12. ! init:
  13. !     cd ..; $(MAKE) make init
  14.   
  15.   .PRECIOUS: Makefile
  16.   
  17. ! Makefile makefile Makefiles makefiles: init
  18.   
  19. ! procmail.1 procmailrc.5 procmailsc.5 procmailex.5 lockfile.1 formail.1: init
  20. !     $(MAKE) make $@
  21. --- 1,151 ----
  22.   
  23. ! LOCKINGTEST=__defaults__
  24.   
  25. ! #LOCKINGTEST=/tmp .    # Uncomment and add any directories you see fit.
  26. ! #            If LOCKINGTEST is defined, autoconf will NOT
  27. ! #            prompt you to enter additional directories.
  28. ! #            See INSTALL for more information about the
  29. ! #            significance of the locking tests.
  30. ! ########################################################################
  31. ! # Only edit below this line if you *think* you know what you are doing #
  32. ! ########################################################################
  33. ! #LOCKINGTEST=100    # Uncomment (and change) if you think you know
  34. ! #            it better than the autoconf lockingtests.
  35. ! #            This will cause the lockingtests to be hotwired.
  36. ! #            100    to enable fcntl()
  37. ! #            010    to enable lockf()
  38. ! #            001    to enable flock()
  39. ! #            Or them together to get the desired combination.
  40. ! # Optional system libraries we search for
  41. ! SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun \
  42. !  -lgen -lsockdns -ldl
  43. ! #            -lresolv    # not really needed, is it?
  44. ! # Informal list of directories where we look for the libraries in SEARCHLIBS
  45. ! LIBPATHS=/lib /usr/lib /usr/local/lib
  46. ! GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \
  47. !  -Wpointer-arith -Wconversion -Waggregate-return \
  48. !  #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
  49. ! # The place to put your favourite extra cc flag
  50. ! CFLAGS0 = -O #$(GCC_WARNINGS)
  51. ! LDFLAGS0= -s
  52. ! # Read my libs :-)
  53. ! LIBS=
  54. ! CFLAGS1 = $(CFLAGS0) #-posix -Xp
  55. ! LDFLAGS1= $(LDFLAGS0) $(LIBS) #-lcposix
  56. ! ####CC    = cc # gcc
  57. ! # object file extension
  58. ! O    = o
  59. ! RM    = /bin/rm -f
  60. ! MV    = mv -f
  61. ! LN    = ln
  62. ! BSHELL    = /bin/sh
  63. ! INSTALL = cp
  64. ! DEVNULL = /dev/null
  65. ! SUBDIRS = src man
  66. ! BINSS    = procmail lockfile formail mailstat
  67. ! MANS1S    = procmail formail lockfile
  68. ! MANS5S    = procmailrc procmailsc procmailex
  69. ! # Makefile.1 - mark, don't (re)move this, a sed script needs it
  70. ! FGREP    = fgrep
  71. ! CFLAGS    = $(CFLAGS1)
  72. ! LDFLAGS    = $(LDFLAGS1) -lm -lsocket -lsun -lgen -ldl -lc
  73. ! BINS= new/procmail new/lockfile new/formail new/mailstat
  74. ! MANS= new/procmail.1 new/formail.1 new/lockfile.1 new/procmailrc.5 new/procmailsc.5 new/procmailex.5
  75. ! MANS1= procmail.$(MAN1SUFFIX) formail.$(MAN1SUFFIX) lockfile.$(MAN1SUFFIX)
  76. ! MANS5= procmailrc.$(MAN5SUFFIX) procmailsc.$(MAN5SUFFIX) procmailex.$(MAN5SUFFIX)
  77. ! MANSS= procmail.1 formail.1 lockfile.1 procmailrc.5 procmailsc.5 procmailex.5
  78. ! NBINS= ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
  79. ! NMANS= ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
  80.   
  81. ! #$Id: Makefile.0,v 1.9 1994/09/27 15:03:36 berg Exp $
  82. ! all: $(MANSS)
  83. ! make:
  84. !     @$(SHELL) -c "exit 0"
  85.   
  86.   .PRECIOUS: Makefile
  87.   
  88. ! ../config.check:
  89. !     @cd ..; $(MAKE) config.check
  90. ! man.sed: man_sed
  91. ! man_sed:
  92. !     @cd ../src; $(MAKE) ../man/man.sed
  93. ! clean:
  94. !     $(RM) $(MANSS) man.sed* _Makefile *core*
  95. ! Makefile: ../Makefile Makefile.0
  96. !     @echo "You have made changes to the master Makefile, in order for"
  97. !     @echo "these changes to show through, you will first have to do:"
  98. !     @echo "$(MAKE) makefiles"
  99. ! makefiles Makefiles makefile:
  100. !     cd ..; $(MAKE) makefiles
  101. ! init:
  102. !     cd ..; $(MAKE) $@
  103.   
  104. ! ../new/procmail.1: procmail.1 ../config.check
  105. !     @test -d ../new || mkdir ../new
  106. !     @$(RM) $@
  107. !     $(LN) ../man/procmail.1 $@
  108. ! ../new/formail.1: formail.1 ../config.check
  109. !     @test -d ../new || mkdir ../new
  110. !     @$(RM) $@
  111. !     $(LN) ../man/formail.1 $@
  112. ! ../new/lockfile.1: lockfile.1 ../config.check
  113. !     @test -d ../new || mkdir ../new
  114. !     @$(RM) $@
  115. !     $(LN) ../man/lockfile.1 $@
  116. ! ../new/procmailrc.5: procmailrc.5 ../config.check
  117. !     @test -d ../new || mkdir ../new
  118. !     @$(RM) $@
  119. !     $(LN) ../man/procmailrc.5 $@
  120. ! ../new/procmailsc.5: procmailsc.5 ../config.check
  121. !     @test -d ../new || mkdir ../new
  122. !     @$(RM) $@
  123. !     $(LN) ../man/procmailsc.5 $@
  124. ! ../new/procmailex.5: procmailex.5 ../config.check
  125. !     @test -d ../new || mkdir ../new
  126. !     @$(RM) $@
  127. !     $(LN) ../man/procmailex.5 $@
  128. ! procmail.1: procmail.man man.sed mansed
  129. !     $(SHELL) ./mansed $(SHELL) procmail.man $@ "$(RM)" $(DEVNULL)
  130. ! formail.1: formail.man man.sed mansed
  131. !     $(SHELL) ./mansed $(SHELL) formail.man $@ "$(RM)" $(DEVNULL)
  132. ! lockfile.1: lockfile.man man.sed mansed
  133. !     $(SHELL) ./mansed $(SHELL) lockfile.man $@ "$(RM)" $(DEVNULL)
  134. ! procmailrc.5: procmailrc.man man.sed mansed
  135. !     $(SHELL) ./mansed $(SHELL) procmailrc.man $@ "$(RM)" $(DEVNULL)
  136. ! procmailsc.5: procmailsc.man man.sed mansed
  137. !     $(SHELL) ./mansed $(SHELL) procmailsc.man $@ "$(RM)" $(DEVNULL)
  138. ! procmailex.5: procmailex.man man.sed mansed
  139. !     $(SHELL) ./mansed $(SHELL) procmailex.man $@ "$(RM)" $(DEVNULL)
  140. ! #
  141. *** ./src/Makefile    Wed Aug 24 11:52:04 1994
  142. --- ../procmail-3.11pre7/./src/Makefile    Fri Aug 21 03:14:10 1998
  143. ***************
  144. *** 1,17 ****
  145. - #$Id: Makefile,v 1.8 1994/08/24 18:52:04 berg Exp $
  146.   
  147. ! all: init
  148. !     $(MAKE) make $@
  149.   
  150. ! # The only real thing that can be made right now is:
  151.   
  152. ! init:
  153. !     cd ..; $(MAKE) make init
  154.   
  155.   .PRECIOUS: Makefile
  156.   
  157. ! Makefile makefile Makefiles makefiles: init
  158.   
  159. ! procmail lockfile formail multigram mailstat setid ../autoconf.h \
  160. ! autoconf.h: init
  161. !     $(MAKE) make $@
  162. --- 1,268 ----
  163.   
  164. ! LOCKINGTEST=__defaults__
  165.   
  166. ! #LOCKINGTEST=/tmp .    # Uncomment and add any directories you see fit.
  167. ! #            If LOCKINGTEST is defined, autoconf will NOT
  168. ! #            prompt you to enter additional directories.
  169. ! #            See INSTALL for more information about the
  170. ! #            significance of the locking tests.
  171.   
  172. ! ########################################################################
  173. ! # Only edit below this line if you *think* you know what you are doing #
  174. ! ########################################################################
  175. ! #LOCKINGTEST=100    # Uncomment (and change) if you think you know
  176. ! #            it better than the autoconf lockingtests.
  177. ! #            This will cause the lockingtests to be hotwired.
  178. ! #            100    to enable fcntl()
  179. ! #            010    to enable lockf()
  180. ! #            001    to enable flock()
  181. ! #            Or them together to get the desired combination.
  182. ! # Optional system libraries we search for
  183. ! SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun \
  184. !  -lgen -lsockdns -ldl
  185. ! #            -lresolv    # not really needed, is it?
  186. ! # Informal list of directories where we look for the libraries in SEARCHLIBS
  187. ! LIBPATHS=/lib /usr/lib /usr/local/lib
  188. ! GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \
  189. !  -Wpointer-arith -Wconversion -Waggregate-return \
  190. !  #-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
  191. ! # The place to put your favourite extra cc flag
  192. ! CFLAGS0 = -O #$(GCC_WARNINGS)
  193. ! LDFLAGS0= -s
  194. ! # Read my libs :-)
  195. ! LIBS=
  196. ! CFLAGS1 = $(CFLAGS0) #-posix -Xp
  197. ! LDFLAGS1= $(LDFLAGS0) $(LIBS) #-lcposix
  198. ! ####CC    = cc # gcc
  199. ! # object file extension
  200. ! O    = o
  201. ! RM    = /bin/rm -f
  202. ! MV    = mv -f
  203. ! LN    = ln
  204. ! BSHELL    = /bin/sh
  205. ! INSTALL = cp
  206. ! DEVNULL = /dev/null
  207. ! SUBDIRS = src man
  208. ! BINSS    = procmail lockfile formail mailstat
  209. ! MANS1S    = procmail formail lockfile
  210. ! MANS5S    = procmailrc procmailsc procmailex
  211. ! # Makefile.1 - mark, don't (re)move this, a sed script needs it
  212. ! FGREP    = fgrep
  213. ! CFLAGS    = $(CFLAGS1)
  214. ! LDFLAGS    = $(LDFLAGS1) -lm -lsocket -lsun -lgen -ldl -lc
  215. ! BINS= new/procmail new/lockfile new/formail new/mailstat
  216. ! MANS= new/procmail.1 new/formail.1 new/lockfile.1 new/procmailrc.5 new/procmailsc.5 new/procmailex.5
  217. ! MANS1= procmail.$(MAN1SUFFIX) formail.$(MAN1SUFFIX) lockfile.$(MAN1SUFFIX)
  218. ! MANS5= procmailrc.$(MAN5SUFFIX) procmailsc.$(MAN5SUFFIX) procmailex.$(MAN5SUFFIX)
  219. ! MANSS= procmail.1 formail.1 lockfile.1 procmailrc.5 procmailsc.5 procmailex.5
  220. ! NBINS= ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
  221. ! NMANS= ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
  222. ! #$Id: Makefile.0,v 1.49 1997/04/28 00:27:44 srb Exp $
  223. ! PM_OBJ=cstdio.$(O) common.$(O) exopen.$(O) goodies.$(O) locking.$(O) \
  224. !  mailfold.$(O) misc.$(O) pipes.$(O) regexp.$(O) robust.$(O) sublib.$(O) \
  225. !  acommon.$(O) mcommon.$(O) lastdirsep.$(O) authenticate.$(O)
  226. ! LF_OBJ=exopen.$(O) sublib.$(O) acommon.$(O) mcommon.$(O) authenticate.$(O)
  227. ! FM_OBJ=common.$(O) fields.$(O) formisc.$(O) sublib.$(O) ecommon.$(O) \
  228. !  acommon.$(O)
  229. ! MG_OBJ=sublib.$(O) ecommon.$(O) mcommon.$(O) hsort.$(O) lastdirsep.$(O)
  230. ! all:    $(BINSS)
  231. ! make:                            # fake target
  232. !     @$(SHELL) -c "exit 0"
  233.   
  234.   .PRECIOUS: Makefile
  235.   
  236. ! procmail: procmail.$(O) $(PM_OBJ) setid
  237. !     $(CC) $(CFLAGS) $@.$(O) $(PM_OBJ) -o $@ $(LDFLAGS)
  238. ! lockfile: lockfile.$(O) $(LF_OBJ)
  239. !     $(CC) $(CFLAGS) $@.$(O) $(LF_OBJ) -o $@ $(LDFLAGS)
  240. ! formail: formail.$(O) $(FM_OBJ)
  241. !     $(CC) $(CFLAGS) $@.$(O) $(FM_OBJ) -o $@ $(LDFLAGS)
  242. ! mailstat: ../examples/mailstat
  243. !     cp ../examples/$@ $@
  244. !     @chmod 0755 $@
  245. ! multigram: multigram.$(O) $(MG_OBJ) setid
  246. !     $(CC) $(CFLAGS) $@.$(O) $(MG_OBJ) -o $@ $(LDFLAGS)
  247. ! ../config.check:
  248. !     @cd ..; $(MAKE) config.check
  249. ! _autotst: _autotst.$(O) sublib.c sublib.h
  250. !     $(CC) $(CFLAGS) $@.$(O) -o $@ $(LDFLAGS)
  251. ! ../autoconf.h: autoconf Makefile
  252. !     @echo No this was not make -n >make_n
  253. !     $(SHELL) ./autoconf $(SHELL) "$(RM)" "$(MV)" $(DEVNULL) \
  254. !  "$(FGREP)" "$(MAKE)" $(O) "$(LOCKINGTEST)" \
  255. !  "$(VISIBLE_BINDIR)" $@
  256. ! autoconf.h: ../autoconf.h
  257. ! targetdir.h:
  258. !     echo "You only can/need to make multigram if you are installing"
  259. !     echo "the mailinglist scripts.    Read ../SmartList/INSTALL for"
  260. !     echo "more directions."
  261. !     exit 64
  262. ! acommon.$(O): ../autoconf.h ../config.h includes.h acommon.h robust.h shell.h
  263. ! authenticate.$(O): ../autoconf.h ../config.h includes.h robust.h shell.h
  264. ! authenticate.$(O): misc.h authenticate.h authenticate.c
  265. !     $(CC) -c -DPROCMAIL $(CFLAGS) $*.c
  266. ! common.$(O): ../autoconf.h ../config.h includes.h procmail.h sublib.h robust.h
  267. ! common.$(O): shell.h misc.h common.h
  268. ! cstdio.$(O): ../autoconf.h ../config.h includes.h procmail.h robust.h cstdio.h
  269. ! cstdio.$(O):  misc.h
  270. ! ecommon.$(O): ../autoconf.h ../config.h includes.h ecommon.h common.h shell.h
  271. ! exopen.$(O): ../autoconf.h ../config.h includes.h procmail.h acommon.h robust.h
  272. ! exopen.$(O): misc.h exopen.h
  273. ! fields.$(O): ../autoconf.h ../config.h includes.h formail.h sublib.h shell.h
  274. ! fields.$(O): common.h fields.h ecommon.h formisc.h
  275. ! formail.$(O): ../autoconf.h ../config.h includes.h formail.h acommon.h sublib.h
  276. ! formail.$(O): shell.h common.h fields.h ecommon.h formisc.h header.h
  277. ! formisc.$(O): ../autoconf.h ../config.h includes.h formail.h sublib.h shell.h
  278. ! formisc.$(O): common.h ecommon.h formisc.h
  279. ! goodies.$(O): ../autoconf.h ../config.h includes.h procmail.h sublib.h robust.h
  280. ! goodies.$(O): shell.h misc.h pipes.h common.h cstdio.h goodies.h
  281. ! hsort.$(O): ../autoconf.h ../config.h includes.h hsort.h
  282. ! lastdirsep.$(O): ../autoconf.h ../config.h includes.h lastdirsep.h
  283. ! lockfile.$(O): ../autoconf.h ../config.h includes.h sublib.h exopen.h mcommon.h
  284. ! lockfile.$(O): authenticate.h
  285. ! locking.$(O): ../autoconf.h ../config.h includes.h procmail.h robust.h shell.h
  286. ! locking.$(O): misc.h pipes.h exopen.h locking.h lastdirsep.h
  287. ! mailfold.$(O): ../autoconf.h ../config.h includes.h procmail.h acommon.h
  288. ! mailfold.$(O): sublib.h robust.h shell.h misc.h pipes.h common.h exopen.h
  289. ! mailfold.$(O): goodies.h locking.h mailfold.h
  290. ! mcommon.$(O): ../autoconf.h ../config.h includes.h mcommon.h
  291. ! misc.$(O): ../autoconf.h ../config.h includes.h procmail.h acommon.h sublib.h
  292. ! misc.$(O): robust.h shell.h misc.h pipes.h common.h cstdio.h exopen.h regexp.h
  293. ! misc.$(O): mcommon.h goodies.h locking.h network.h mailfold.h lastdirsep.h
  294. ! misc.$(O): authenticate.h
  295. ! multigram.$(O): ../autoconf.h ../config.h includes.h sublib.h hsort.h shell.h
  296. ! multigram.$(O): ecommon.h mcommon.h lastdirsep.h targetdir.h
  297. ! pipes.$(O): ../autoconf.h ../config.h includes.h procmail.h robust.h shell.h
  298. ! pipes.$(O): misc.h pipes.h common.h cstdio.h exopen.h mcommon.h goodies.h
  299. ! pipes.$(O): mailfold.h
  300. ! procmail.$(O): ../patchlevel.h ../autoconf.h ../config.h includes.h procmail.h
  301. ! procmail.$(O): acommon.h sublib.h robust.h shell.h misc.h pipes.h common.h
  302. ! procmail.$(O): cstdio.h exopen.h regexp.h mcommon.h goodies.h locking.h
  303. ! procmail.$(O): mailfold.h lastdirsep.h authenticate.h
  304. ! regexp.$(O): ../autoconf.h ../config.h includes.h procmail.h sublib.h robust.h
  305. ! regexp.$(O): shell.h misc.h regexp.h goodies.h
  306. ! robust.$(O): ../autoconf.h ../config.h includes.h procmail.h robust.h shell.h
  307. ! robust.$(O): misc.h pipes.h common.h mailfold.h shell.h
  308. ! sublib.$(O): ../autoconf.h ../config.h includes.h sublib.h shell.h
  309. ! gethome.$(O) setid.$(O) recommend.$(O): ../autoconf.h ../config.h includes.h
  310. ! gethome.$(O): gethome.c
  311. !     @$(CC) -c $(CFLAGS) $*.c
  312. ! setid.$(O): setid.c
  313. !     @$(CC) -c $(CFLAGS) $*.c
  314. ! recommend.$(O): recommend.c
  315. !     @$(CC) -c $(CFLAGS) $*.c
  316. ! .c.$(O):
  317. !     $(CC) -c $(CFLAGS) $<
  318. ! gethome: gethome.$(O) setid
  319. !     @$(CC) $(CFLAGS) $@.$(O) -o $@ $(LDFLAGS)
  320. ! getparams:
  321. !     @echo "ln=\"$(LN)\"" >../SmartList/targetdir.tmp
  322. ! setid: setid.$(O)
  323. !     @$(CC) $(CFLAGS) $@.$(O) -o $@ $(LDFLAGS)
  324. ! recommend: recommend.$(O) sublib.$(O)
  325. !     @$(CC) $(CFLAGS) $@.$(O) sublib.$(O) -o $@ $(LDFLAGS)
  326. ! ../man/man.sed: manconf.c ../autoconf.h ../config.h includes.h procmail.h
  327. ! ../man/man.sed: ../patchlevel.h lastdirsep.h lastdirsep.$(O)
  328. !     @$(CC) $(CFLAGS) "-DBINDIR=\"$(VISIBLE_BINDIR)\"" -o _autotst \
  329. !  manconf.c lastdirsep.$(O) $(LDFLAGS)
  330. !     @./_autotst $@
  331. !     @echo Housekeeping file >$@
  332. !     @$(RM) _autotst
  333. ! clean:
  334. !     $(RM) -r _locktest
  335. !     $(RM) procmail.$(O) $(PM_OBJ) lockfile.$(O) $(LF_OBJ) formail.$O \
  336. !  $(FM_OBJ) multigram.$(O) $(MG_OBJ) $(BINSS) multigram ../autoconf.h \
  337. !  _autotst* lookfor _locktst* grepfor recommend recommend.$(O) manconf \
  338. !  _Makefile lock.log *core* targetdir.h setid setid.$(O) gethome \
  339. !  gethome.$(O) make_n
  340. ! Makefile: ../Makefile Makefile.0
  341. !     @echo "You have made changes to the master Makefile, in order for"
  342. !     @echo "these changes to show through, you will first have to do:"
  343. !     @echo "$(MAKE) makefiles"
  344. ! makefiles Makefiles makefile:
  345. !     cd ..; $(MAKE) makefiles
  346. ! init:
  347. !     cd ..; $(MAKE) $@
  348. ! VISIBLE_BINDIR=/usr/freeware/bin
  349. ! ../new/procmail: procmail ../config.check
  350. !     @test -d ../new || mkdir ../new
  351. !     @$(RM) $@
  352. !     $(LN) ../src/procmail $@
  353. ! ../new/lockfile: lockfile ../config.check
  354. !     @test -d ../new || mkdir ../new
  355. !     @$(RM) $@
  356. !     $(LN) ../src/lockfile $@
  357. ! ../new/formail: formail ../config.check
  358. !     @test -d ../new || mkdir ../new
  359. !     @$(RM) $@
  360. !     $(LN) ../src/formail $@
  361.   
  362. ! ../new/mailstat: mailstat ../config.check
  363. !     @test -d ../new || mkdir ../new
  364. !     @$(RM) $@
  365. !     $(LN) ../src/mailstat $@
  366. ! #
  367. *** ./Makefile    Sun Apr 27 17:27:40 1997
  368. --- ../procmail-3.11pre7/./Makefile    Fri Aug 21 03:14:09 1998
  369. ***************
  370. *** 109,138 ****
  371.   MANS1S    = procmail formail lockfile
  372.   MANS5S    = procmailrc procmailsc procmailex
  373.   
  374. ! # Makefile - mark, don't (re)move this, a sed script needs it
  375.   
  376. ! all: init
  377. !     $(MAKE) make $@
  378.   
  379.   make:
  380. !     @$(BSHELL) -c "exit 0"
  381.   
  382.   .PRECIOUS: Makefile
  383.   
  384. ! init:
  385. !     $(BSHELL) ./initmake $(BSHELL) "$(SHELL)" "$(RM)" "$(MV)" "$(LN)" \
  386. !  "$(SEARCHLIBS)" \
  387. !  "$(LIBPATHS)" \
  388. !  $(DEVNULL) "$(MAKE)" $(O) \
  389. !  "$(CC)" "$(CFLAGS1)" "$(LDFLAGS1)" "$(BINSS)" \
  390. !  "$(MANS1S)" \
  391. !  "$(MANS5S)" "$(SUBDIRS)" \
  392. !  "$(VISIBLE_BINDIR)"
  393. ! makefiles makefile Makefiles Makefile: init
  394. !     @$(BSHELL) -c "exit 0"
  395. ! help target targets \
  396. ! bins mans install.bin install.man install recommend install-suid clean setid \
  397. ! realclean veryclean clobber deinstall autoconf.h $(BINSS) multigram: init
  398. !     $(MAKE) make $@
  399. --- 109,289 ----
  400.   MANS1S    = procmail formail lockfile
  401.   MANS5S    = procmailrc procmailsc procmailex
  402.   
  403. ! # Makefile.1 - mark, don't (re)move this, a sed script needs it
  404.   
  405. ! FGREP    = fgrep
  406. ! CFLAGS    = $(CFLAGS1)
  407. ! LDFLAGS    = $(LDFLAGS1) -lm -lsocket -lsun -lgen -ldl -lc
  408. ! BINS= new/procmail new/lockfile new/formail new/mailstat
  409. ! MANS= new/procmail.1 new/formail.1 new/lockfile.1 new/procmailrc.5 new/procmailsc.5 new/procmailex.5
  410. ! MANS1= procmail.$(MAN1SUFFIX) formail.$(MAN1SUFFIX) lockfile.$(MAN1SUFFIX)
  411. ! MANS5= procmailrc.$(MAN5SUFFIX) procmailsc.$(MAN5SUFFIX) procmailex.$(MAN5SUFFIX)
  412. ! MANSS= procmail.1 formail.1 lockfile.1 procmailrc.5 procmailsc.5 procmailex.5
  413. ! NBINS= ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
  414. ! NMANS= ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
  415. ! #$Id: Makefile.1,v 1.49 1996/12/21 03:28:05 srb Exp $
  416. ! all: bins mans recommend
  417. !     @echo If you would like to inspect the results before running make \
  418. ! install:
  419. !     @echo All installable files can be found in the new/ subdirectory.
  420.   
  421.   make:
  422. !     @$(SHELL) -c "exit 0"
  423.   
  424.   .PRECIOUS: Makefile
  425.   
  426. ! help target targets:
  427. !     @sed "/^##*\*#$$/,/^##*\*#$$/ !d" <Makefile
  428. ! bins: autoconf.h config.check src/Makefile
  429. !     cd src; $(MAKE) $(NBINS)
  430. ! mans: autoconf.h config.check man/Makefile
  431. !     cd man; $(MAKE) $(NMANS)
  432. ! autoconf.h: src/Makefile src/autoconf
  433. !     cd src; $(MAKE) ../$@
  434. ! procmail: autoconf.h config.check src/Makefile man/Makefile
  435. !     cd src; $(MAKE) ../new/$@ ../new/mailstat
  436. !     cd man; $(MAKE) ../new/$@.1 ../new/$@rc.5 ../new/$@ex.5 ../new/$@sc.5
  437. ! mailstat: procmail
  438. ! formail lockfile: autoconf.h config.check src/Makefile man/Makefile
  439. !     cd src; $(MAKE) ../new/$@
  440. !     cd man; $(MAKE) ../new/$@.1
  441. ! setid multigram: autoconf.h config.check src/Makefile man/Makefile
  442. !     cd src; $(MAKE) $@
  443. ! config.check: config.h
  444. !     echo Housekeeping file >$@
  445. !     mkdir new 2>$(DEVNULL); exit 0
  446. !     @-if $(FGREP) -n -e '`' config.h $(DEVNULL) | $(FGREP) -v EOFName ; \
  447. !  then \
  448. !  echo;echo '   ^^^^^^^^^^^^^^^^^^^^ WARNING ^^^^^^^^^^^^^^^^^^^^^';\
  449. !       echo '   * Having backquotes in there could be unhealthy! *';\
  450. !  echo;fi;exit 0
  451. ! recommend: autoconf.h src/Makefile
  452. !     @cd src; $(MAKE) $@
  453. !     @echo ================================================================\
  454. ! ===============
  455. !     @if $(FGREP) CF_no_procmail_yet autoconf.h >$(DEVNULL); \
  456. !  then echo If you are a system administrator you should consider \
  457. ! integrating procmail; echo into the mail-delivery system -- for advanced \
  458. ! functionality, speed AND; echo SECURITY "--.  For" more information about \
  459. ! this topic you should look in the; echo examples/advanced file.; elif \
  460. !  cat /usr/lib/sendmail.cf /etc/sendmail.cf 2>$(DEVNULL) | \
  461. !  grep 'Mlocal.*procmail.*F=[a-zA-Z]*u' >$(DEVNULL) ; then \
  462. !  echo The recommendation for the sendmail.cf entry of procmail has \
  463. ! changed.; echo I suggest you remove the '`u'"'"-flag 'like in:'; echo ; \
  464. !  sed -n 's/.*\(Mlocal.*procmail.*F=[a-zA-Z]*\)u/\1/p' `if test -f \
  465. !  /etc/sendmail.cf; then echo /etc/sendmail.cf; else \
  466. !  echo /usr/lib/sendmail.cf; fi`; fi
  467. !     @echo
  468. !     @echo \
  469. !  "Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it):"
  470. !     @echo
  471. !     @src/$@ $(BINDIR)/procmail $(BINDIR)/lockfile >suid.sh
  472. !     @src/$@ $(BINDIR)/procmail $(BINDIR)/lockfile
  473. !     @echo ================================================================\
  474. ! ===============
  475. ! suid.sh: recommend
  476. ! install-suid: suid.sh install.bin
  477. !     @cat suid.sh
  478. !     @$(SHELL) ./suid.sh
  479. !     @cd $(BINDIR); echo Installed in $(BINDIR); ls -l $(BINSS)
  480. ! $(MANS): mans
  481. ! $(BINS): bins
  482. ! $(BASENAME):
  483. !     mkdir $(BASENAME)
  484. ! install.man: $(MANS) $(BASENAME)
  485. !     @-mkdir $(MANDIR) 2>$(DEVNULL); exit 0
  486. !     @-test -d $(MAN1DIR) || $(RM) $(MAN1DIR); exit 0
  487. !     @-mkdir $(MAN1DIR) 2>$(DEVNULL); exit 0
  488. !     @-test -d $(MAN5DIR) || $(RM) $(MAN5DIR); exit 0
  489. !     @-mkdir $(MAN5DIR) 2>$(DEVNULL); exit 0
  490. !     @chmod 0644 $(MANS)
  491. !     @for a in $(MANS1S); \
  492. !   do $(INSTALL) new/$$a.1 $(MAN1DIR)/$$a.$(MAN1SUFFIX) || exit 1; \
  493. !      if test "X$(MANCOMPRESS)" != "X"; \
  494. !      then $(MANCOMPRESS) -c new/$$a.1 >$(MAN1DIR)/$$a.$(MAN1SUFFIX); \
  495. !      else :; fi; \
  496. !   done
  497. !     @for a in $(MANS5S); \
  498. !   do $(INSTALL) new/$$a.5 $(MAN5DIR)/$$a.$(MAN5SUFFIX) || exit 1; \
  499. !      if test "X$(MANCOMPRESS)" != "X"; \
  500. !      then $(MANCOMPRESS) -c new/$$a.5 >$(MAN5DIR)/$$a.$(MAN5SUFFIX); \
  501. !      else :; fi; \
  502. !   done
  503. !     echo Housekeeping file >install.man
  504. ! install.bin: $(BINS) $(BASENAME)
  505. !     @-mkdir $(BINDIR) 2>$(DEVNULL); exit 0
  506. !     @chmod 0755 $(BINS)
  507. !     $(INSTALL) $(BINS) $(BINDIR)
  508. !     @-dirname / >$(DEVNULL) || $(INSTALL) examples/dirname $(BINDIR)
  509. !     echo Housekeeping file >install.bin
  510. ! install:
  511. !     @$(MAKE) install.man install.bin
  512. !     @echo
  513. !     @cd $(BINDIR); echo Installed in $(BINDIR); ls -l $(BINSS)
  514. !     @cd $(MAN1DIR); echo Installed in $(MAN1DIR); ls -l $(MANS1)
  515. !     @cd $(MAN5DIR); echo Installed in $(MAN5DIR); ls -l $(MANS5)
  516. !     @$(MAKE) recommend
  517. ! deinstall:
  518. !     @echo ============================= Deinstalling the procmail package.
  519. !     @$(RM) install.man install.bin
  520. !     @echo ============================= Checking if everything was removed:
  521. !     @-cd $(BINDIR); $(RM) $(BINSS); ls -l $(BINSS); exit 0
  522. !     @-cd $(MAN1DIR); $(RM) $(MANS1); ls -l $(MANS1); exit 0
  523. !     @-cd $(MAN5DIR); $(RM) $(MANS5); ls -l $(MANS5); exit 0
  524. !     @echo ============================= Ready.
  525. ! clean: config.check
  526. !     -for a in $(SUBDIRS); do cd $$a; $(MAKE) $@; cd ..; done; exit 0
  527. !     cd SmartList; $(RM) targetdir.h targetdir.tmp install.list asked.patch
  528. !     $(RM) $(MANS) $(BINS) install.man install.bin suid.sh _Makefile \
  529. !  *core* autoconf.h.tmp
  530. ! realclean: clean _init
  531. !     $(RM) config.check
  532. !     -rmdir new; exit 0
  533. !     -for a in $(SUBDIRS); do $(MV) $$a/Makefile.init $$a/Makefile; done; \
  534. !  exit 0
  535. ! veryclean clobber: realclean
  536. ! _init:
  537. !     sed -e '/^# Makefile.1 - mark/,$$ d' <Makefile >_Makefile
  538. !     cat Makefile.0 >>_Makefile
  539. !     $(MV) _Makefile Makefile
  540. !     $(RM) Makefile.0
  541. ! man/Makefile: man/Makefile.0 Makefile
  542. ! src/Makefile: src/Makefile.0 Makefile
  543. ! HIDEMAKE=$(MAKE)
  544. ! man/Makefile src/Makefile Makefile: Makefile.1 initmake
  545. !     sed -e '/^# Makefile.1 - mark/,$$ d' <Makefile >_Makefile
  546. !     cat Makefile.0 >>_Makefile
  547. !     $(MV) _Makefile Makefile
  548. !     $(RM) Makefile.0
  549. !     $(HIDEMAKE) init
  550. ! init makefiles Makefiles makefile: man/Makefile src/Makefile
  551. *** ./config.h    Sun Apr 27 17:27:41 1997
  552. --- ../procmail-3.11pre7/./config.h    Fri Aug 21 02:56:19 1998
  553. ***************
  554. *** 16,24 ****
  555.    * environment variables ending in an _ will designate the whole group starting
  556.    * with this prefix (e.g. "LC_").
  557.    */
  558. ! #define KEEPENV        {"TZ",0}
  559.   
  560. ! /*#define DEFPATH    "PATH=$HOME/bin:/bin:/usr/bin"    /* uncomment and/or
  561.                                  change if you
  562.       do not want the autoconf generated defPATH setting to be used in
  563.       PRESTENV below. */
  564. --- 16,24 ----
  565.    * environment variables ending in an _ will designate the whole group starting
  566.    * with this prefix (e.g. "LC_").
  567.    */
  568. ! #define KEEPENV        {"TZ","LANG",0}
  569.   
  570. ! #define DEFPATH    "PATH=/usr/freeware/bin:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/usr/bin/X11:"    /* uncomment and/or
  571.                                  change if you
  572.       do not want the autoconf generated defPATH setting to be used in
  573.       PRESTENV below. */
  574. ***************
  575. *** 71,81 ****
  576.       is not found, maildelivery will proceed as normal to the default
  577.       system mailbox. */
  578.   
  579. ! #define ETCRC    "/etc/procmailrc"    /* optional global procmailrc startup
  580.                          file (will only be read if procmail
  581.       is started with no rcfile on the command line). */
  582.   
  583. ! #define ETCRCS    "/etc/procmailrcs/"    /* optional trusted path prefix for
  584.                          rcfiles which will be executed with
  585.       the uid of the owner of the rcfile (this only happens if procmail is
  586.       called with the -m option, without variable assignments on the command
  587. --- 71,81 ----
  588.       is not found, maildelivery will proceed as normal to the default
  589.       system mailbox. */
  590.   
  591. ! #define ETCRC    "/usr/freeware/lib/procmail/procmailrc"    /* optional global procmailrc startup
  592.                          file (will only be read if procmail
  593.       is started with no rcfile on the command line). */
  594.   
  595. ! #define ETCRCS    "/usr/freeware/lib/procmail/procmailrcs/"    /* optional trusted path prefix for
  596.                          rcfiles which will be executed with
  597.       the uid of the owner of the rcfile (this only happens if procmail is
  598.       called with the -m option, without variable assignments on the command
  599.